The command show function displays the current function type. If the function type is user, then the user-defined function will be displayed.
show function
set function, show setup, fit, math